#pragma once
#include "Property.h"
#include "Windows.h"
#include "ConsoleHelper.h"
#define SPACE_POSX 1
#define SPACE_POSY 0
#define NUM_SPACES 40

class Player;

class Space
{
private:
	Property* m_property;
	int m_price;
	char* m_name;
public:
	Space();

	Space(Property* a_property, char* a_name, int a_price);

	void Draw();

	int getPrice();
	char* getName();
	int getOwner();
	int getRent(int a_roll) { return m_property->getRent(a_roll); }
	Property* BuyProperty(Player* a_buyer);
	int getColor();
};